package com.open.capacity.reimburse.service;

import com.open.capacity.reimburse.entity.BillBusinesstrip2;
import com.open.capacity.reimburse.entity.BillBuy2;

import com.open.capacity.commons.PageResult;

import java.util.Map;
import java.util.List;
/**
 * 购置费用报销
 *
 * @author 
 * @email 
 * @date 2021-07-06 14:53:11
 */
public interface BillBuy2Service {
    /**
     * 校验
     *
     * @param bill
     */
    int verifyBill(BillBuy2 bill);
    /**
     * 添加
     * @param bill
     */
    int save(BillBuy2 bill, Integer force);

    /**
     * 修改
     * @param bill
     */
    int update(BillBuy2 bill, Integer force);

    /**
     * 删除
     * @param id
     */
    int delete(String id);


    /**
    * 查询记录
    * @param id
    * @return
    */
        BillBuy2 findById(String id);

    /**
     * 分页
     * @param params
     * @return
     */
    PageResult<BillBuy2> pageAll(Map<String, Object> params);

    /**
     * 列表
     * @param params
     * @return
     */
    List<BillBuy2> findAll(Map<String, Object> params);
}

